/**
 * 
 */
package com.ms.service.impl;

import com.ms.service.RedisServicesImplBase;
import com.ms.service.RedisSocketServices;
import com.ms.service.StringRequest;
import com.ms.service.StringResponse;
import io.grpc.stub.StreamObserver;

/**
 * @author sreenath
 *
 */
public class RedisServicesImpl extends RedisServicesImplBase {
	
	private final RedisSocketServices redisSocketServices;

//	public RedisServicesImpl() {
//		this.redisSocketServices = new RedisSocketServices("192.168.137.1", 6379);
//	}
//
//	@Override
//	public void get(StringRequest request, StreamObserver<StringResponse> responseObserver) {
//		String value = redisSocketServices.get(request.getKey());
//		StringResponse reply = StringResponse.newBuilder().setValue(value).build();
//		responseObserver.onNext(reply);
//		responseObserver.onCompleted();
//	}

	public RedisServicesImpl() {
		this.redisSocketServices =
	}

}
